﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="detail_images.ascx.cs" Inherits="templates_client_usercontrols_detail_images" %>
    
<!-- Begin page content-->                        
<table style="margin-top:5px; width:504px;" cellpadding="0" cellspacing="0">
    <tr style="background-image:url(../templates/client/images/bar_title_middle.png); background-repeat:no-repeat; height:35px;">
        <td valign="top" align="left">
            <img src="../templates/client/images/arrow_title.png" alt="arrow_title" width="20px" style="margin-left:5px; margin-right:5px; margin-top:7px;" />
            <span class="title_bar_content" style="margin-top:10px;">Danh sách hình ảnh</span>
        </td>
    </tr>
    <tr>
        <td>
            <div class="yoxview">         
                <ul style="padding:0px; margin-left:0px;">
                    <asp:Repeater ID="rptHinhAnh" runat="server">
                        <ItemTemplate>
                            <li class="image_detail">
                                <a href='<%# "../uploads/imagesupload/" + Eval("TenFile")%>' class="image_link">
                                    <img src=<%# "../uploads/imagesupload/" + Eval("TenFile")%> title="Cảnh thiên nhiên" width="145px" height="120px"/>
                                </a>
                                <div style="margin-top:10px; padding-right:10px; padding-left:10px; font:normal 13px Arial, Helvetica, sans-serif;">
                                    <%# Eval("GioiThieu") %>
                                </div>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>                    
                </ul>                            
            </div>   
        </td>
    </tr>
    <tr style="background-image:url(../templates/client/images/footer-page-content2.png); background-repeat:repeat-x; height:40px">
        <td>
            <ul class="paging" runat ="server" id="PhanTrang">
                <li>
                    <asp:LinkButton ID="lbtnFirst" runat="server" CausesValidation="false" 
                                OnClick="lbtnFirst_Click">Trang đầu</asp:LinkButton>
                </li>
                <li>
                    <asp:LinkButton ID="lbtnPrevious" runat="server" CausesValidation="false" 
                                OnClick="lbtnPrevious_Click">Trang trước</asp:LinkButton>
                </li>
                
                    <asp:Repeater ID="dlPaging" runat="server" OnItemCommand="dlPaging_ItemCommand" 
                        OnItemDataBound="dlPaging_ItemDataBound">
                        <ItemTemplate>
                            <li>                                
                                <asp:LinkButton ID="lnkbtnPaging" runat="server" 
                                    CommandArgument='<%# Eval("PageIndex") %>' CommandName="Paging" 
                                    Text='<%# Eval("PageText") %>'></asp:LinkButton>  
                            </li>                              
                        </ItemTemplate>
                    </asp:Repeater>                                                            
                <li>
                    <asp:LinkButton ID="lbtnNext" runat="server" CausesValidation="false" 
                                OnClick="lbtnNext_Click">Trang tiếp</asp:LinkButton>
                </li>
                <li>
                    <asp:LinkButton ID="lbtnLast" runat="server" CausesValidation="false" 
                                OnClick="lbtnLast_Click">Trang cuối</asp:LinkButton>
                </li>                        
                <asp:Label ID="lblPageInfo" runat="server" Visible="false"></asp:Label>                
            </ul>
        </td>
    </tr>
</table>                                                                      
<!-- Begin page content-->